package com.hk.service;

import java.util.List;

import com.hk.commons.HqlFilter;
import com.hk.commons.entity.yingmi.FundNav;

public interface IFundNav {
	
	public FundNav findById(long id);

	/**
	 * 保存
	 * 
	 * @param b
	 * @return
	 */
	public Integer add(FundNav u);

	/**
	 * 删除
	 * 
	 * @param id
	 * @return
	 */
	public void delete(FundNav u);

	
	public void merge(FundNav u);
	
	/**
	 * 更新
	 * 
	 * @param b
	 */
	public void update(FundNav u);

	public List<FundNav> findByFilter(HqlFilter hqlFilter, int pageNum,
			int pageSize);

	public List<FundNav> findByFilter(HqlFilter hqlFilter);

	public Long countByFilter(HqlFilter hqlFilter);
	
	public List executeListHql(String hql ,int firstResult ,int maxCount);
}
